from django.urls import include, path
from rest_framework import routers
from .views import SchoolViewSet, CollegeViewSet, TeamViewSet, ResearchGroupViewSet

router = routers.DefaultRouter()
router.register(r'schools', SchoolViewSet)
router.register(r'colleges', CollegeViewSet)
router.register(r'teams', TeamViewSet)
router.register(r'research_groups', ResearchGroupViewSet)

urlpatterns = [
    path('', include(router.urls)),
]

